package com.dnjn.happiness.biz.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dnjn.happiness.biz.domain.HistoryInterview;
import com.dnjn.happiness.biz.mapper.HistoryInterviewMapper;
import com.dnjn.happiness.biz.service.IHistoryInterviewService;
import com.dnjn.happiness.system.api.domain.SysUser;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * 历史沟通记录Service业务层处理
 *
 * @author happiness
 * @date 2023-11-20
 */
@Service
public class HistoryInterviewServiceImpl extends ServiceImpl<HistoryInterviewMapper, HistoryInterview> implements IHistoryInterviewService {

    @Override
    public List<HistoryInterview> getHistoryInterviewEcharts(String startTime, String endTime) {
        return baseMapper.getHistoryInterviewEcharts(startTime, endTime);
    }

    @Override
    public Page<HistoryInterview> getPage(Page page, HistoryInterview historyInterview) {
        return baseMapper.getPage(page, historyInterview);
    }

    @Override
    public Page<SysUser> getPageX(Page page, HashMap<String, Object> map) {
        return baseMapper.getPageX(page, map);
    }
}
